import React, {Component} from 'react';

window.n = 0;
class Item extends Component{
  render() {
    window.n += 1;
    if (window.n === 2) {
      window.one = this;
    }
    if (window.n === 4) {
      window.two = this;
    }
    return (
      <div>

      </div>
    );
  }
}

export default Item;
